package com.xgit.iov.admin.execl;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.xgit.iov.common.core.constant.CommonConstants;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: william
 * @Date: 2020/6/17 17:32
 */

@Data
public class UserExcel implements Serializable {

	@Excel(name = "用户名")
	private String username;

	@Excel(name = "手机号",width = 20)
	private String phone;

	@Excel(name = "角色", width = 20)
	private String roleName;

	@Excel(name = "部门")
	private String deptName;

	@Excel(name = "状态", replace = { "正常_0", "锁定_1" })
	private String lockFlag;

	@Excel(name = "创建时间", format = CommonConstants.DATETIME_FORMAT, width = 20)
	private LocalDateTime createTime;

}
